<include file="Public:header" />



<div class="container main"> <include file="Public:left" />
  <div class="w790">
    <div class="h"><a onclick="mydialog.open('{:U('add')}',{width: 800, height:800,lock:true,title:'编辑系统样式'});" class="btn btn-info"><i class="glyphicon glyphicon-plus"></i>新增样式</a>
      <form action="{:U('index')}" method="get" class="fr form-inline">
      
      
      
    
        
        <input type="hidden" name="pagesize" value="{$pagesize}" />
        <input type="text" name="keywords" placeholder="输入搜索关键词" class="form-control" value="{$keywords}" />
        <button type="submit" class="btn btn-default">搜索</button>
      </form></div>
    
    <div class="table_">
      <div class="row">


<volist name="list" id="vo"> 

  <div class="col-sm-4 col-xs-12 col-md-2">
    <div class="thumbnail">
      <img width="100%" src="{:getThumbPath($vo['img_url'], 1)}">
      <div class="caption">
        <h3 style="font-size:14px; height:3em;">{$vo.title}</h3>
        
        <p>
        
        
        
        <a class="btn btn-success" href="javascript:void(0);" onClick="mydialog.open('{:U('edit', array('id' => $vo['id']))}',{width: 800, height:800,lock:true,title:'编辑系统样式'});"><i class="fa fa-edit"></i> 编辑</a>
        
        
        <a class="btn btn-danger" href="{:U('delete',array('id'=>$vo['id']))}" onclick="return confirm('您确定要删除这条记录吗？');"><i class="glyphicon glyphicon-trash"></i> 删除</a>
        
        </p>
        
        
      </div>
    </div>
  </div>
  
</volist>
  
  
  
</div>
      <div class="pages">
        <div class="controlList fl"><a href="javascript:void(0);" class="btn btn-primary btn-sm" onclick="sall();"><i class="glyphicon glyphicon-check"></i> 全选/反选</a> <a href="javascript:void(0);" class="btn btn-primary btn-sm" onclick="rall();"><i class="glyphicon glyphicon-unchecked"></i> 全不选</a> <a class="btn btn-danger btn-sm" href="javascript:void(0);" onclick="delall();"><i class="glyphicon glyphicon-trash"></i> 删除选中</a> <a href="javascript:void(0);" class="btn btn-primary btn-sm" onclick="update_sort('id','sort','','{:U('dosort')}');"><i class="glyphicon glyphicon-refresh"></i> 更新排序</a> 
       
        
        </div>
        <form class="fr" style="display:inline;" id="pagesize" action="" method="get">
         <label class="form-inline"> 每页
          <select name="pagesize" onchange="document.getElementById('pagesize').submit();" class="form-control">
            <option 
            <eq name="pagesize" value="10">selected="selected"</eq>
             value="10">10
            </option>
            <option 
            <eq name="pagesize" value="20">selected="selected"</eq>
             value="20">20
            </option>
            <option 
            <eq name="pagesize" value="30">selected="selected"</eq>
             value="30">30
            </option>
            <option 
            <eq name="pagesize" value="50">selected="selected"</eq>
             value="50">50
            </option>
            <option 
            <eq name="pagesize" value="100">selected="selected"</eq>
             value="100">100
            </option>
            <option 
            <eq name="pagesize" value="500">selected="selected"</eq>
             value="500">500
            </option>
          </select>
          条</label>
          <input type="hidden" name="category_id" value="{$category_id}" />
          <input type="hidden" name="keywords" value="{$keywords}" />
        </form>
        <div class="fr">{$pages}</div>
      </div>
    </div>
  </div>
  <div class="clear"></div>
</div>
<include file="Public:footer" />